.navbar {
    background: #222;
    border-radius: 0px;
    // 固定定位
    position: sticky;
    z-index: 999;
    top: 0;
    margin-bottom: 0;
    border: none;

    .navbar-brand {
        padding: 8px;
        padding-right: 15px;

        img {
            width: 100%;
            height: 100%;
        }
    }

    .navbar-nav {
        .dropdown {
            .dropdown-menu {
                background-color: #222;
                color: #9d9d9d;
                a {
                    color: #fff;
                    &:hover {
                        background-color: #e7e7e7;
                        color: #000;
                    }
                }
            }
        }
    }

    .navbar-nav>li {
        color: #9d9d9d !important;
        margin-right: 22.4px;
    }

    .navbar-nav>li>a {
        padding-left: 0px;
        padding-right: 0px;

        &:active {
            background-color: #080808;
        }

        &:focus {
            background-color: #080808;
            color: #fff;
        }

        &:hover {
            color: #fff;
        }
    }
}

// 底部
.bottom {
    background-color: #3b3b3b;
    box-sizing: border-box;
    padding: 35px 0;

    .bottom-box {
        width: 80%;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;

        .left {
            color: #a1a3ab;
            width: 50%;

            .list {
                box-sizing: border-box;
                padding-bottom: 14px;
                width: 32%;
                display: flex;
                justify-content: space-between;

                a {
                    color: #a1a3ab;
                }
            }
        }

        .right {
            width: 15%;
            display: flex;
            justify-content: space-between;

            .contact {
                position: relative;
                cursor: pointer;

                &::before {
                    content: '';
                    width: 141px;
                    height: 150px;
                    background-image: url(../images/erwm.png);
                    display: none;
                    position: absolute;
                    top: -150px;
                    left: -50px;
                }
            }

            .contact:hover::before {
                display: block;
            }
        }
    }
}

@media (min-width: 768px) {
    .navbar-left {
        width: 70%;
        margin: 0 auto;
        text-align: center;
    }
}

@media screen and (max-width: 1280px) {
    .bottom {
        .bottom-box {
            .left {
                .list {
                    width: 40%;
                }
            }

            .right {
                width: 15%;
            }
        }
    }
}

@media screen and (max-width: 1024px) {
    .navbar-nav>li {
        color: #9d9d9d;
        margin-right: 0px;
        text-align: center;
    }

    .dropdown-menu {
        background-color: #222;
        color: #9d9d9d;
    }

    .navbar-header {
        float: none;

        .navbar-toggle {
            margin-right: 0px;
        }
    }

    .navbar-left {
        float: none !important;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }

    .navbar-collapse.collapse {
        display: none !important;
    }

    .navbar-nav>li {
        float: none;
    }

    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .collapse.in {
        display: block !important;
    }

    // 底部
    .bottom {
        .bottom-box {
            .left {
                .list {
                    width: 55%;
                }
            }

            .right {
                width: 20%;
            }
        }
    }
}

@media screen and (max-width: 768px) {
    .bottom {
        .bottom-box {
            .left {
                width: 65%;

                .list {
                    width: 50%;
                }
            }

            .right {
                width: 25%;
            }
        }
    }
}

@media screen and (max-width: 415px) {
    .navbar-header {
        float: none;

        .navbar-toggle {
            margin-right: 15px;
        }
    }

    .bottom {
        .bottom-box {
            display: block;

            .left {
                width: 100%;

                .list {
                    width: 65%;
                }

                .all {
                    box-sizing: border-box;
                    padding-bottom: 14px;
                    border-top: 14px;
                }
            }

            .right {
                justify-content: space-around;
                width: 100%;
            }
        }
    }
}